#pragma once

#include "mytechframe.h"

class MyFrame;

// -- frame --

class MyFrame : public MyTechFrame
{
	typedef MyTechFrame Base;
protected:
	zqdb::Calc::AllFunc all_strategy_func_;
	void AddFirstPages();
public:
    MyFrame(const char* xml, size_t xmlflag);
    ~MyFrame();

protected:
	//
	
	//Navigate
	//Market
	//Filter
	//Sort
	//TechView
	//Calc
	void OnCalcTradeFlag(wxRibbonButtonBarEvent& evt);
	void OnCalcSetting(wxRibbonPanelEvent& evt);
	//Script
	//Strategy
	void OnStrategy(wxRibbonButtonBarEvent& evt);
	void OnStrategySetting(wxRibbonPanelEvent& evt);
	
    wxDECLARE_EVENT_TABLE();
};

